package dr.incomeapp;

import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import dr.incomeapp.controller.MyController;

public class IncomeController extends MyController {

	protected EditText etName;
	protected EditText etDescription;
	protected EditText etCost;
	protected Button btnSave;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_income);

		etName = (EditText) findViewById(R.id.etName);
		etCost = (EditText) findViewById(R.id.etCost);
		etDescription = (EditText) findViewById(R.id.etDescription);

		btnSave = (Button) findViewById(R.id.btnSave);

		btnSave.setOnClickListener(this);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.activity_income, menu);
		return true;
	}

	public void onClick(View v) {
		// TODO Auto-generated method stub

	}
}
